package cn.tx.dao;

import cn.tx.model.Tcourse;
import java.util.List;
import java.util.Map;

public interface TcourseDao {
    public int addTcourse(Tcourse tcourse) ;
    public Tcourse findByName(String name);
    public List<Tcourse> findList(Map<String, Object> querymap);
    public List<Tcourse> findAll();
    public int findTotal(Map<String, Object> querymap);
    public int UpdateTcourseById(Tcourse tcourse);
    public int delete(String ids);
}
